package com.eastedu.client.warehouse.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Map;

/**
 * 〈试题相似度详情〉
 *
 * @author ZHISHUAI.ZHANG
 */
@EqualsAndHashCode(callSuper = true)
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class QuestionMoreDetailWithSimilarityDTO extends QuestionMoreDetailDTO {
    private static final long serialVersionUID = 6986461878931364770L;
    @Schema(description = "余弦相似度")
    private Double confidence;

    @Schema(description = "多种算法的相似度")
    private Map<String, Double> confidences;
}